import requests

url = 'http://192.168.196.128/apitest/one-param/'
res = requests.get(url)
print(res.status_code)
print(res.text)  # text会把响应正文都变成普通字符串
print(type(res.text))
print(res.headers)
print(res.headers['Content-Type'])  # 内容类型，响应类型
